/** 积分*/
import axios from "../axios"

/**
 *
 */
export const integralList=(params)=>{
    return axios({
        url:"/api/integral/list",
        method:'get',
        params
    })
}

/**
 * 上传拍照积分小票
 * @param params
 */
export const uploadImgToServe=(params)=>{
    return axios({
        url:"/api/integral/uploadImgToServe",
        method:'get',
        params
    })
}

/**
 * 自助积分记录
 * @param params
 */
export const selfIntegralList=(params)=>{
    return axios({
        url:"/api/integral/selfIntegralList",
        method:'post',
        params
    })
}

/**
 * 自助积分记录 撤销
 * @param params
 */
export const del=(params)=>{
    return axios({
        url:"/api/integral/del",
        method:'post',
        params
    })
}
